#include "CircleMapItem.h"
#include "MapHandle.h"
#include "AbstractCircleMapItem.h"


CircleMapItem::CircleMapItem()
: AreaMapItem(MapItemType::Circle)
{

}

CircleMapItem::CircleMapItem(const QPointF &pos, qreal radius)
: AreaMapItem(MapItemType::Circle)
{
	setPos(pos);
	setRadius(radius);
}

CircleMapItem::~CircleMapItem()
{

}

void CircleMapItem::setRadius(qreal radius)
{
	dynamic_cast<AbstractCircleMapItem*>(d_ptr)->setRadius(radius);
}
